import setuptools
from distutils.core import Extension

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

eval_sp_module = Extension(
    "EvalSPModule", sources=["common/ml_utils/seg_eval/eval_superpixel.cpp"]
)

setuptools.setup(
    name="skywalker",
    version="0.0.1",
    author="PAII Skywalkers",
    author_email="paii-skywalkers@paii-labs.com",
    description="PAII Satellite Platform",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/PingAnIntelligence/satellite-platform",
    classifiers=[
        "Programming Language :: Python :: 3",
        "Operating System :: Linux",
    ],
    packages=setuptools.find_packages(),
    ext_modules=[eval_sp_module],
    python_requires=">=3.7",
)